package cn.getech.data.development.service;


import cn.getech.data.development.entity.ProcUser;
import cn.getech.data.intelligence.common.utils.PageUtils;
import cn.getech.system.center.model.dto.SysUserDto;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 项目用户关系表 服务类
 * </p>
 *
 * @author wcj
 * @since 2019-10-29
 */
public interface ProcUserService extends IService<ProcUser> {
    PageUtils procUserList(Map<String, Object> params);
    boolean checkExistByProcUser(ProcUser procUser);
    boolean checkViewPermission(Integer procId);

    void deleteByUserId(Long userId);
    List<Integer> procUserIdList(Integer procId);

    List<Integer> procIdListByUserId(Integer userId);

    List<SysUserDto> listProcRelUsers(Integer procId);
}
